<%@ page import="com.dzzw.Model.Employee" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: 10391
  Date: 2021/5/28
  Time: 13:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix = "c" %>
<%
    List<Employee> list = (List<Employee>) session.getAttribute("SelectAllByEmployeeId");
%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>公务员个人信息</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
    <link rel="stylesheet" href="../css/style.css">
    <style>
        html,body{
            height: 100%;
        }
        body{
            display: flex;
            justify-content: center;
            align-items: center;
            background-image: url("../image/login_bg.png");
            background-size: cover;
        }
    </style>
</head>
<body>
<div class="login-div">
    <h1>公务员个人信息</h1>
    <form id="login-form" action="EmployeeModifyServlet">
        <c:forEach items="<%=list%>" var="Employee">
        <div class="login-form-item">
            <input name="employee_id" placeholder="公务员id" value="${Employee.employee_id}">
        </div>
        <div class="login-form-item">
            <input name="employee_actnumber" placeholder="公务员id" value="${Employee.employee_actnumber}">
        </div>
        <div class="login-form-item">
            <input name="employee_password" placeholder="公务员id" value="${Employee.employee_password}">
        </div>
        <div class="login-form-item">
            <input name="employee_name" placeholder="公务员id" value="${Employee.employee_name}">
        </div>
        <div class="login-form-item">
            <input name="employee_entrytime" placeholder="公务员id" value="${Employee.employee_entrytime}">
        </div>
        <div class="login-form-item">
            <input name="leader_name" placeholder="公务员id" value="${Employee.leader_name}">
        </div>
        <div class="login-form-item">
            <input name="department_name" placeholder="公务员id" value="${Employee.department_name}">
        </div>
        </c:forEach>
        <button class="btn-login" type="submit">确认修改</button>
    </form>
</div>
</body>
</html>
<script src="../js/jquery.min.js"></script>
<script src="../layui/layui.all.js"></script>
<script src="../js/common.js"></script>
